<?php if ( ! defined('IN_DILICMS')) exit('No direct script access allowed');
$setting['models']['single_choice']=array (
  'id' => '1',
  'name' => 'single_choice',
  'description' => '单选题',
  'perpage' => '20',
  'hasattach' => '1',
  'built_in' => '0',
  'thumb_preferences' => '{"enabled":[],"default":"original"}',
  'fields' => 
  array (
    2 => 
    array (
      'id' => '2',
      'name' => 'category',
      'description' => '题目分类',
      'model' => '1',
      'type' => 'select_from_model',
      'length' => '0',
      'values' => 'single_choice|category_name',
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '',
      'searchable' => '1',
      'listable' => '1',
      'order' => '0',
      'editable' => '1',
    ),
    1 => 
    array (
      'id' => '1',
      'name' => 'content',
      'description' => '题目',
      'model' => '1',
      'type' => 'textarea',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '',
      'searchable' => '1',
      'listable' => '1',
      'order' => '1',
      'editable' => '1',
    ),
    3 => 
    array (
      'id' => '3',
      'name' => 'is_img_content',
      'description' => '题目是否显示图片',
      'model' => '1',
      'type' => 'radio',
      'length' => '0',
      'values' => 
      array (
        0 => '否',
        1 => '是',
      ),
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '若为否，则不显示图片',
      'searchable' => '1',
      'listable' => '1',
      'order' => '2',
      'editable' => '1',
    ),
    4 => 
    array (
      'id' => '4',
      'name' => 'img_content',
      'description' => '题目图片',
      'model' => '1',
      'type' => 'mfile',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => '',
      'ruledescription' => '',
      'searchable' => '1',
      'listable' => '0',
      'order' => '3',
      'editable' => '1',
    ),
    5 => 
    array (
      'id' => '5',
      'name' => 'is_img_option',
      'description' => '选项是否为图片',
      'model' => '1',
      'type' => 'radio',
      'length' => '0',
      'values' => 
      array (
        0 => '否',
        1 => '是',
      ),
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '若为否，选项图片不显示',
      'searchable' => '1',
      'listable' => '0',
      'order' => '4',
      'editable' => '1',
    ),
    6 => 
    array (
      'id' => '6',
      'name' => 'option_a',
      'description' => '选项A',
      'model' => '1',
      'type' => 'textarea',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => '',
      'ruledescription' => '',
      'searchable' => '1',
      'listable' => '0',
      'order' => '5',
      'editable' => '1',
    ),
    7 => 
    array (
      'id' => '7',
      'name' => 'option_b',
      'description' => '选项B',
      'model' => '1',
      'type' => 'textarea',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => '',
      'ruledescription' => '',
      'searchable' => '1',
      'listable' => '0',
      'order' => '6',
      'editable' => '1',
    ),
    8 => 
    array (
      'id' => '8',
      'name' => 'option_c',
      'description' => '选项C',
      'model' => '1',
      'type' => 'textarea',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => '',
      'ruledescription' => '',
      'searchable' => '1',
      'listable' => '0',
      'order' => '7',
      'editable' => '1',
    ),
    9 => 
    array (
      'id' => '9',
      'name' => 'option_d',
      'description' => '选项D',
      'model' => '1',
      'type' => 'textarea',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => '',
      'ruledescription' => '',
      'searchable' => '1',
      'listable' => '0',
      'order' => '8',
      'editable' => '1',
    ),
    10 => 
    array (
      'id' => '10',
      'name' => 'img_option_a',
      'description' => '图片选项A',
      'model' => '1',
      'type' => 'mfile',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => '',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '0',
      'order' => '9',
      'editable' => '1',
    ),
    11 => 
    array (
      'id' => '11',
      'name' => 'img_option_b',
      'description' => '图片选项B',
      'model' => '1',
      'type' => 'mfile',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => '',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '0',
      'order' => '10',
      'editable' => '1',
    ),
    12 => 
    array (
      'id' => '12',
      'name' => 'img_option_c',
      'description' => '图片选项C',
      'model' => '1',
      'type' => 'mfile',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => '',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '0',
      'order' => '11',
      'editable' => '1',
    ),
    13 => 
    array (
      'id' => '13',
      'name' => 'img_option_d',
      'description' => '图片选项D',
      'model' => '1',
      'type' => 'mfile',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => '',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '0',
      'order' => '12',
      'editable' => '1',
    ),
    14 => 
    array (
      'id' => '14',
      'name' => 'answer_option',
      'description' => '正确选项',
      'model' => '1',
      'type' => 'radio',
      'length' => '0',
      'values' => 
      array (
        0 => 'A',
        1 => 'B',
        2 => 'C',
        3 => 'D',
      ),
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '0',
      'order' => '13',
      'editable' => '1',
    ),
    15 => 
    array (
      'id' => '15',
      'name' => 'analysis',
      'description' => '解析',
      'model' => '1',
      'type' => 'textarea',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '0',
      'order' => '14',
      'editable' => '1',
    ),
    46 => 
    array (
      'id' => '46',
      'name' => 'origin',
      'description' => '题目来源',
      'model' => '1',
      'type' => 'input',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => '',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '0',
      'order' => '15',
      'editable' => '1',
    ),
    73 => 
    array (
      'id' => '73',
      'name' => 'category_id',
      'description' => '分类标识',
      'model' => '1',
      'type' => 'int',
      'length' => '0',
      'values' => '0',
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '0为单选，1为多选',
      'searchable' => '0',
      'listable' => '0',
      'order' => '16',
      'editable' => '1',
    ),
    75 => 
    array (
      'id' => '75',
      'name' => 'exam_category',
      'description' => '考卷名称',
      'model' => '1',
      'type' => 'select_from_model',
      'length' => '0',
      'values' => 'exam|exam_name',
      'width' => '0',
      'height' => '0',
      'rules' => '',
      'ruledescription' => '可为空',
      'searchable' => '0',
      'listable' => '0',
      'order' => '17',
      'editable' => '1',
    ),
  ),
  'listable' => 
  array (
    0 => '2',
    1 => '1',
    2 => '3',
  ),
  'searchable' => 
  array (
    0 => '2',
    1 => '1',
    2 => '3',
    3 => '4',
    4 => '5',
    5 => '6',
    6 => '7',
    7 => '8',
    8 => '9',
  ),
);